#ifndef __BSP_SYSTEM_H
#define __BSP_SYSTEM_H

#include "stdio.h"
#include "stdarg.h"
#include "string.h"
#include "stdlib.h"

#include "main.h"
#include "system.h"
#include "lcd.h"
#include "key.h"
#include "led.h"
#include "scheduler.h"
#include "lcd_app.h"
#include "tim_app.h"
extern uint8_t uled[8];
extern uint32_t ic_buffer[2][30];
extern int32_t ic_value[2];

extern int Freq[2];
extern int32_t cycle[2];
extern int PX;
extern uint32_t PD, PH;
extern int NA[2], NB[2]; // 0:ND,1:NH
extern uint8_t show_mode;       // 0：数据界面|1：参数界面|2：统计界面
extern uint8_t show_mode_small;        // 0:频率|1：周期

extern uint32_t PD_T, PH_T;
extern int PX_T;
#endif
